package com.hspedu.com.jdbc.myjdbc;

/**
 * @author DL5O
 * @version 1.0
 */
public class TestJDBC {
    public static void main(String[] args) {
        JdbcInterface jdbcInterface = new MySqlJdbcImpl();
        Object connection = jdbcInterface.getConnection();//通过接口来调用实现类[动态绑定]
        jdbcInterface.crud();
        jdbcInterface.close();

    }
}
